<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            list-style: none;
        }
        ul li{
            text-align: center;
        }
        ul li input{
            width: 200px;
            height: 20px;
        }
        input[value]{
            color: red;
        }
        div[class^=icon]{
            text-align: center;
        }
        div[class$=dat]{
            text-align: center;
            color: blueviolet;
        }
    </style>
</head>
<body>
    <ul>
        <!-- 不借助类选择器和id选择器 -->
        <li><input type="text" value="请输入内容。。"></li>
        <li><input type="password"></li>
        <!-- 属性选择器可选择某属性值开头的某些元素  -->
        <div class="icon1">胡桃</div>
        <div class="icon2">甘雨</div>
        <div class="icon3">申鹤</div>
        <div class="icon4">狐狸</div>
        <!-- 属性选择器可选择某属性值结尾的某些元素 -->
        <div class="icon2-dat">天空弓</div>
        <div class="icon3-dat">护摩</div>
        <div class="icon4-dot">七七</div>

    </ul>
</body>
</html>